﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Interactivity;
using System.Diagnostics;

namespace SampleApplication
{
    public class DebugTrigger : TriggerBase<DependencyObject>
    {
        protected override void OnAttached()
        {
            base.OnAttached();
            Debug.WriteLine("Attached : " + GetHashCode());
        }

        protected override void OnDetaching()
        {
            Debug.WriteLine("Detaching : " + GetHashCode());
            base.OnDetaching();
        }
    }
}
